package com.handtransaction.service;


import com.handtransaction.entity.Goods;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface GoodsService {
    public void AddGoods(Goods goods);

    public void AddGoods2(Goods goods);

    public void DeleteGoodsByGid(Integer gid);

    /**
     * 根据gid修改商品
     *
     * @param goods
     */
    public void updateGoods(Goods goods);

    public Goods QueryGoodBygid(Integer gid);

    public List<Goods> QueryGoodBygcid(String gcid);

    public List<Goods> QueryGoodBygm(String gmessage);

    public List<Goods> QueryGoods();

    public List<Goods> queryGoodsByGuid(int guid);

    public void updategtinyint(Goods goods);

}
